package org.tea.inventory.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 *
 */
@ApiModel(value = "用户积分表")
@Data
@ToString
public class UserIntegralVo implements Serializable {

    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "")
    private Long id;
    @ApiModelProperty(value = "公司名称")
    private String companyName;
    @ApiModelProperty(value = "部门名称")
    private String deptName;
    @ApiModelProperty(value = "人物头像")
    private String headImage;
    @ApiModelProperty(value = "勋章数量")
    private Integer medalCount;
    @ApiModelProperty(value = "签到状态 0-未签到 1-已签到")
    private Integer signStatus;
    /**
     * 用户
     */
    @ApiModelProperty(value = "用户")
    private String userName;
    /**
     * 用户
     */
    @ApiModelProperty(value = "用户")
    private String loginId;
    /**
     * 用户总积分
     */
    @ApiModelProperty(value = "用户总积分")
    private Integer integral;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifyTime;
    /**
     * 删除标记
     */
    @ApiModelProperty(value = "删除标记 ")
    private Integer delFlag;
    /**
     * 用户剩余积分
     */
    @ApiModelProperty(value = "用户剩余积分")
    private Integer surplusIntegral;
    @ApiModelProperty(value = "文件路径")
    private String httpFile;
    private Long rownum;
    @ApiModelProperty(value = "总积分排名")
    private Long histop;
    @ApiModelProperty(value = "当前积分排名")
    private Long nowtop;
    @ApiModelProperty(value = "未读消息数量")
    private Long unreadNum;
    @ApiModelProperty(value = "0-锁 1-解锁")
    private Integer lockStatus;
    @ApiModelProperty(value = "0-锁 1-解锁")
    private String lockStatusName;
    @ApiModelProperty(value = "员工状态")
    private String staffStatus;
    @ApiModelProperty(value = "员工状态")
    private String staffStatusName;
    @ApiModelProperty(value = "入职时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date realEntryDate;
    private String realEntryDateStr;
    @ApiModelProperty(value = "出生日期")
    private String staffbirthday;
}